{"version":3,"sources":["script.js"],"names":["BX","namespace","Rest","Marketplace","Detail","init","params","this","ajaxPath","siteId","appName","appCode","importUrl","openImport","description","document","querySelector","descriptionWrapper","SidePanel","Instance","open","type","isDomNode","employeeInstButton","getElementsByClassName","bind","proxy","confirmInstallRequest","proxy_context","initTabs","slicker","menuItems","querySelectorAll","menuItemActive","contentItems","contentActiveItem","i","length","itemd","setActiveItem","setSlickerParam","style","left","offsetLeft","width","offsetWidth","item","hasClass","removeClass","addClass","setActiveContainer","getAttribute","id","getElementById","slideDescription","maxHeight","offsetHeight","element","popup","PopupWindowManager","create","content","message","closeByEsc","closeIcon","top","right","buttons","PopupWindowButton","text","className","events","click","delegate","close","sendInstallRequest","PopupWindowButtonLink","popupWindow","show","angle","offset","offsetTop","autoHide","ajax","method","dataType","url","data","sessid","bitrix_sessid","site_id","action","onsuccess","onfailure","DetailImageScroller","param","layout","container","target","wrapper","earLeft","earRight","earTimer","prototype","appendChild","getEarLeft","getEarRight","bindEvents","adjustEars","props","mouseenter","scrollToLeft","mouseleave","stopAutoScroll","scroller","scrollToRight","setInterval","scrollLeft","clearInterval","scroll","isLeftVisible","isRightVisible","scrollWidth","Math","round","classList"],"mappings":"AAAA,aAEAA,GAAGC,UAAU,8BAEbD,GAAGE,KAAKC,YAAYC,QAEnBC,KAAM,SAASC,GAEdA,SAAgBA,IAAW,SAAWA,KAEtCC,KAAKC,SAAWF,EAAOE,UAAY,KACnCD,KAAKE,OAASH,EAAOG,QAAU,KAC/BF,KAAKG,QAAUJ,EAAOI,SAAW,GACjCH,KAAKI,QAAUL,EAAOK,SAAW,GACjCJ,KAAKK,UAAYN,EAAOM,WAAa,GACrCL,KAAKM,WAAaP,EAAOO,YAAc,MAEvCN,KAAKO,YAAcC,SAASC,cAAc,4CAC1CT,KAAKU,mBAAqBF,SAASC,cAAc,oDACjD,GAAGT,KAAKM,aAAe,MAAQP,EAAOM,YAAc,GACpD,CACCZ,GAAGkB,UAAUC,SAASC,KAAKd,EAAO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